#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include "homepage.h"
#include "tooltype.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_actionFind_triggered();

    void on_actionTimeFormat_triggered();

    void on_actionHomePage_triggered();

    void on_actionNext_triggered();

    void on_actionPrevious_triggered();

    void on_actionCloseAll_triggered();

    void on_actionCascade_triggered();

    void on_actionTileHorizontally_triggered();

    void on_actionAlwaysOnTop_toggled(bool flag);

    void on_actionTransparent_toggled(bool flag);

    void on_actionAbout_triggered();

    void onCaptionClicked(ToolType toolType);

    void onShowMessageInStatusBar(const QString &msg);

private:
    Ui::MainWindow *ui;

    HomePage *homePage;
};

#endif // MAINWINDOW_H
